package com.hongtu.xaseataorg1.fegin;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "brank2")
public interface Bank2Client {
    @RequestMapping(value = "/transfer", method = RequestMethod.GET)
    String transfer(@RequestParam("amount") Double amount);
}
